Deflation as a Method of Variance Reduction for Estimating the Trace of a Matrix Inverse
نویسندگان
چکیده
Many fields require computing the trace of the inverse of a large, sparse matrix. Since dense matrix methods are not practical, the typical method used for such computations is the Hutchinson method which is a Monte Carlo (MC) averaging over matrix quadratures. To improve its slow convergence, several variance reductions techniques have been proposed. In this paper, we study the effects of deflating the near null singular value space. We make two main contributions: One theoretical and one by engineering a solution to a real world application. First, we analyze the variance of the Hutchinson method as a function of the deflated singular values and vectors. By assuming additionally that the singular vectors are random unitary matrices, we arrive at concise formulas for the deflated variance that include only the variance and the mean of the singular values. We make the remarkable observation that deflation may increase variance for Hermitian matrices but not for non-Hermitian ones. The theory can be used as a model for predicting the benefits of deflation. Experimentation shows that the model is robust even when the singular vectors are not random. Second, we use deflation in the context of a large scale application of “disconnected diagrams” in Lattice QCD. On lattices, Hierarchical Probing (HP) has previously provided significant variance reduction over MC by removing “error” from neighboring nodes of increasing distance in the lattice. Although deflation used directly on MC yields a limited improvement of 30% in our problem, when combined with HP they reduce variance by a factor of about 60 over MC. We explain this synergy theoretically and provide a thorough experimental analysis. One of the important steps of our solution is the pre-computation of 1000 smallest singular values of an ill-conditioned matrix of size 25 million. Using the state-of-the-art packages PRIMME and a domain-specific Algebraic Multigrid preconditioner, we solve this large eigenvalue computation on 32 nodes of Cray Edison in about 1.5 hours and at a fraction of the cost of our trace computation.
منابع مشابه
Estimating the Trace of the Matrix Inverse by Interpolating from the Diagonal of an Approximate Inverse
A number of applications require the computation of the trace of a matrix that is implicitly available through a function. A common example of a function is the inverse of a large, sparse matrix, which is the focus of this paper. When the evaluation of the function is expensive, the task is computationally challenging because the standard approach is based on a Monte Carlo method which converge...
متن کاملComparing ordinary kriging and advanced inverse distance squared methods based on estimating coal deposits; case study: East-Parvadeh deposit, central Iran
Finding a proper estimation method for ore resources/reserves is important in mining engineering. The aim of this work is to compare the Ordinary Kriging (OK) and Advanced Inverse Distance Squared (AIDS) methods based on the correlation between the raw and estimated data in the East-Parvadeh coal deposit, central Iran. The variograms and anisotropic ellipsoids are calculated to estimate the ash...
متن کاملAn iterative method for the Hermitian-generalized Hamiltonian solutions to the inverse problem AX=B with a submatrix constraint
In this paper, an iterative method is proposed for solving the matrix inverse problem $AX=B$ for Hermitian-generalized Hamiltonian matrices with a submatrix constraint. By this iterative method, for any initial matrix $A_0$, a solution $A^*$ can be obtained in finite iteration steps in the absence of roundoff errors, and the solution with least norm can be obtained by choosing a special kind of...
متن کاملThe use of inverse quadratic radial basis functions for the solution of an inverse heat problem
In this paper, a numerical procedure for an inverse problem of simultaneously determining an unknown coefficient in a semilinear parabolic equation subject to the specification of the solution at an internal point along with the usual initial boundary conditions is considered. The method consists of expanding the required approximate solution as the elements of the inverse quadrati...
متن کاملA STABLE COUPLED NEWTON'S ITERATION FOR THE MATRIX INVERSE $P$-TH ROOT
The computation of the inverse roots of matrices arises in evaluating non-symmetriceigenvalue problems, solving nonlinear matrix equations, computing some matrixfunctions, control theory and several other areas of applications. It is possible toapproximate the matrix inverse pth roots by exploiting a specialized version of New-ton's method, but previous researchers have mentioned that some iter...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- SIAM J. Scientific Computing
دوره 39 شماره
صفحات -
تاریخ انتشار 2017